package cn.zn.modules.appoin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.zn.modules.appoin.entity.AtSpecialWorkTime;
import cn.zn.modules.appoin.dao.AtSpecialWorkTimeMapper;
import cn.zn.modules.appoin.service.AtSpecialWorkTimeService;

import java.util.List;

@Service
public class AtSpecialWorkTimeServiceImpl extends ServiceImpl<AtSpecialWorkTimeMapper, AtSpecialWorkTime> implements AtSpecialWorkTimeService {

    @Override
    public List<AtSpecialWorkTime> findBySpecial(String specialId) {
        return super.list(new QueryWrapper<AtSpecialWorkTime>().eq("SPECIAL_ID_", specialId));
    }
}
